package com.qg.service;

import com.zxs.resp.ReturnResult;

public interface LocailGoodsService {

    /**
     * 查询商品信息
     * @param id
     * @return
     * @throws Exception
     */
    public ReturnResult queryGoodsById(String id) throws  Exception;

    /**
     * 抢购商品
     * @param taken
     * @param id
     * @return
     * @throws Exception
     */
    public ReturnResult getGoods(String taken,String id) throws Exception;

    //发送消息
    public ReturnResult sendGoodsMessage(String token,String goodsId);
}
